package com.bootdo.fx.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;



/**
 * 
 * 
 * @author 袁飞龙
 * @email 1992lcg@163.com
 * @date 2017-11-30 17:12:20
 */
public class DistributionRuleSetupDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//
	private String ruleId;
	//
	private BigDecimal firstLevelCommission;
	//
	private BigDecimal secondLevelCommission;
	//
	private BigDecimal thirdLevelCommission;
	//0 - 百分比 1 - 具体值
	private Integer commissionScaleType;
	//最低多少金额成为分销商
	private BigDecimal shoppingMoneyLine;
	//
	private BigDecimal withdrawMoneyLine;
	//
	private Date createTime;
	//
	private Date updateTime;

	/**
	 * 设置：
	 */
	public void setRuleId(String ruleId) {
		this.ruleId = ruleId;
	}
	/**
	 * 获取：
	 */
	public String getRuleId() {
		return ruleId;
	}
	/**
	 * 设置：
	 */
	public void setFirstLevelCommission(BigDecimal firstLevelCommission) {
		this.firstLevelCommission = firstLevelCommission;
	}
	/**
	 * 获取：
	 */
	public BigDecimal getFirstLevelCommission() {
		return firstLevelCommission;
	}

	public BigDecimal getSecondLevelCommission() {
		return secondLevelCommission;
	}

	public void setSecondLevelCommission(BigDecimal secondLevelCommission) {
		this.secondLevelCommission = secondLevelCommission;
	}

	public BigDecimal getThirdLevelCommission() {
		return thirdLevelCommission;
	}

	public void setThirdLevelCommission(BigDecimal thirdLevelCommission) {
		this.thirdLevelCommission = thirdLevelCommission;
	}

	/**
	 * 设置：0 - 百分比
            1 - 具体值
	 */
	public void setCommissionScaleType(Integer commissionScaleType) {
		this.commissionScaleType = commissionScaleType;
	}

	/**
	 * 获取：0 - 百分比
            1 - 具体值
	 */
	public Integer getCommissionScaleType() {
		return commissionScaleType;
	}

	/**
	 * 设置：最低多少金额成为分销商
	 */
	public void setShoppingMoneyLine(BigDecimal shoppingMoneyLine) {
		this.shoppingMoneyLine = shoppingMoneyLine;
	}
	/**
	 * 获取：最低多少金额成为分销商
	 */
	public BigDecimal getShoppingMoneyLine() {
		return shoppingMoneyLine;
	}
	/**
	 * 设置：
	 */
	public void setWithdrawMoneyLine(BigDecimal withdrawMoneyLine) {
		this.withdrawMoneyLine = withdrawMoneyLine;
	}
	/**
	 * 获取：
	 */
	public BigDecimal getWithdrawMoneyLine() {
		return withdrawMoneyLine;
	}
	/**
	 * 设置：
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 获取：
	 */
	public Date getUpdateTime() {
		return updateTime;
	}
}
